#ifndef SPHERE_H
#define SPHERE_H
#include "Objet.h"
#include "Point.h"
#include "Intersection.h"
#include "Rayon.h"
#include "Vecteur.h"
#include <cmath>
#include <stdlib.h>

class Sphere : public Objet {

protected:

	double rayon;
	Point origine;

public:

	Sphere(){}
	Sphere(double, const Point &);
	~Sphere(){}
	double getRayon() { return rayon; }
	Point getOrigine() { return origine; }

	void intersection(const Rayon &,Intersection &);
	bool ombre(const Rayon &, double);

};
#endif